package app.server.project.main.service.db.entity.cfg;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import lombok.Data;
import org.hibernate.annotations.Comment;

@Data
@Entity(name = "recharge_cfg")
@TableName("recharge_cfg")
@Comment(value = "充值配置表")
public class RechargeCfgEntity {

    @Id
    @Column(name = "id")
    @Comment("类型id")
    @TableId("id")
    private int id;


    @Column(name = "type_id")
    @Comment("类型id")
    @TableField("type_id")
    private int typeId;


    @Column(name = "consume_num")
    @Comment("消耗数量")
    @TableField("consume_num")
    private long consumeNum;

    @Column(name = "param")
    @Comment("参数值")
    @TableField("param")
    private long param;

    @Column(name = "callback_type")
    @Comment("回调类型")
    @TableField("callback_type")
    private int callbackType;


    @Column(name = "remark")
    @Comment("备注")
    @TableField("remark")
    private String remark;


    @Column(name = "img_index")
    @Comment("图片索引类型")
    @TableField("img_index")
    private int imgIndex;

    @Column(name = "star_title")
    @Comment("星星标题")
    @TableField("star_title")
    private String starTitle;


    @Column(name = "star_des")
    @Comment("星星描述")
    @TableField("star_des")
    private String starDes;

    @Column(name = "store_type")
    @Comment("商城类型")
    @TableField("store_type")
    private int storeType;

    @Column(name = "sku_type")
    @Comment("sku类型")
    @TableField("sku_type")
    private int skuType;

    @Column(name = "sku_url")
    @Comment("sku类型url")
    @TableField("sku_url")
    private String skuUrl;

    @Column(name = "img_url")
    @Comment("img图片地址")
    @TableField("img_url")
    private String imgUrl;
}
